/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --background-color: #f8fafc;
    --surface-color: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: var(--background-color);
    color: var(--primary-color);
    transform: none;
}

.dropdown-menu a::after {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}


/* Generator Section */
.generator-section {
    background: var(--background-color);
    padding: 4rem 0;
}

.generator-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.generator-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
}

.generator-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.input-group input {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface-color);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-group span {
    font-weight: 500;
    color: var(--text-secondary);
}

.generate-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.generate-btn:active {
    transform: translateY(0);
}

/* Results */
.results-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.results-container h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.numbers-list {
    background: var(--background-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
    align-content: flex-start;
}

.number-item {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.number-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}



.results-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

/* Quick Generators */
.quick-generators {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.quick-generators h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-btn {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 2px solid transparent;
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.quick-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Password Quick Templates - Enhanced Styling */
.quick-password-btn {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quick-password-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.quick-password-btn:hover::before {
    left: 100%;
}

.quick-password-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.quick-password-btn:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Special styling for different template types */
.quick-password-btn[data-type="basic"] {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    border-color: #f59e0b;
    color: #92400e;
}

.quick-password-btn[data-type="basic"]:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-color: #d97706;
}

.quick-password-btn[data-type="strong"] {
    background: linear-gradient(135deg, #dbeafe, #3b82f6);
    border-color: #2563eb;
    color: #1e40af;
}

.quick-password-btn[data-type="strong"]:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #1d4ed8;
}

.quick-password-btn[data-type="ultra"] {
    background: linear-gradient(135deg, #f3e8ff, #8b5cf6);
    border-color: #7c3aed;
    color: #6b21a8;
}

.quick-password-btn[data-type="ultra"]:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-color: #7c3aed;
}

.quick-password-btn[data-type="maximum"] {
    background: linear-gradient(135deg, #fecaca, #ef4444);
    border-color: #dc2626;
    color: #991b1b;
}

.quick-password-btn[data-type="maximum"]:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-color: #dc2626;
}

.quick-password-btn[data-type="memorable"] {
    background: linear-gradient(135deg, #d1fae5, #10b981);
    border-color: #059669;
    color: #065f46;
}

.quick-password-btn[data-type="memorable"]:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #059669;
}

.quick-password-btn[data-type="alphanumeric"] {
    background: linear-gradient(135deg, #e0e7ff, #6366f1);
    border-color: #4f46e5;
    color: #3730a3;
}

.quick-password-btn[data-type="alphanumeric"]:hover {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border-color: #4f46e5;
}

/* History Section */
.history-section {
    background: var(--surface-color);
    padding: 4rem 0;
}

.history-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.history-list {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    min-height: 200px;
}

.history-item {
    background: var(--surface-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.history-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.history-range {
    font-weight: 600;
    color: var(--text-primary);
}

.history-duplicate-status {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.history-duplicate-status.allow-duplicates {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.history-duplicate-status.no-duplicates {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.history-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.history-item-time {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.history-copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.history-copy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.history-item-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.history-number {
    background: var(--background-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* About Section */
.about-section {
    background: var(--background-color);
    padding: 4rem 0;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

/* Contact Info */
.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Legal Pages */
.legal-section {
    background: var(--background-color);
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.legal-section h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
}

.last-updated {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-content {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Logo link styling */
.logo a {
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.blog-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-section {
    background: var(--background-color);
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-placeholder-image {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-date {
    color: var(--text-muted);
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.blog-card h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.blog-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card h2 a:hover {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 3rem;
}

.newsletter-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.newsletter-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.newsletter-disclaimer {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Blog Post Styles */
.blog-post {
    background: var(--background-color);
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 200px);
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.blog-read-time {
    color: var(--text-muted);
}

.blog-post h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.blog-post-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-post-content {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.blog-post-image {
    margin-bottom: 2rem;
}

.blog-placeholder-large {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.blog-placeholder-large span {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.blog-placeholder-large p {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.blog-post-content h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.blog-post-content h2:first-of-type {
    margin-top: 0;
}

.blog-post-content h3 {
    color: var(--text-primary);
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.blog-post-content li strong {
    color: var(--text-primary);
}

.blog-post-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.blog-post-content a:hover {
    text-decoration: underline;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Blog Post Tags */
.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.tag {
    background: var(--background-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Blog Post Navigation */
.blog-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 1rem;
}

.nav-back,
.nav-next {
    background: var(--surface-color);
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-back:hover,
.nav-next:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

/* Password Generator Styles */
.password-controls {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.length-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.length-slider {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.length-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.length-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.length-display {
    font-weight: 700;
    font-size: 1.25rem;
    min-width: 3rem;
    text-align: center;
    padding: 0.5rem;
    background: var(--background-color);
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.checkbox-group:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.02);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    margin-top: 2px;
}

.checkbox-group span {
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Password Results */
.passwords-list {
    background: var(--background-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-color);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.password-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.password-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.password-text {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
    user-select: all;
    padding: 0.5rem;
    background: var(--background-color);
    border-radius: 4px;
    transition: var(--transition);
}

.password-info {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.password-strength {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.strength-very-weak { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.strength-weak { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.strength-fair { background: rgba(251, 191, 36, 0.1); color: #ca8a04; }
.strength-good { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.strength-excellent { background: rgba(16, 185, 129, 0.1); color: #059669; }

.password-entropy {
    color: var(--text-muted);
}

.password-actions {
    display: flex;
    gap: 0.5rem;
}

.copy-single-btn,
.toggle-visibility-btn {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.copy-single-btn:hover,
.toggle-visibility-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Password Analyzer */
.password-analyzer {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.password-analyzer h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.analyzer-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.analyzer-input input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
}

.analyzer-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.strength-analysis {
    display: grid;
    gap: 1.5rem;
}

.strength-score {
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.strength-score h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.strength-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.strength-details ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.strength-details li {
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.strength-details li.good {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.strength-details li.fair {
    background: rgba(251, 191, 36, 0.1);
    color: #ca8a04;
}

.strength-details li.bad {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Password Tips */
.password-tips {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.password-tips h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tip-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.tip-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.tip-card p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Messages */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

.message-success {
    background: rgba(34, 197, 94, 0.9);
    color: white;
    border: 1px solid #16a34a;
}

.message-error {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: 1px solid #dc2626;
}

.message-info {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    border: 1px solid #3b82f6;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Random Picker Styles */
.picker-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.picker-input-section,
.picker-results-section {
    min-height: 600px;
}

/* Input Methods */
.method-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.method-tab {
    flex: 1;
    background: var(--background-color);
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.method-tab.active {
    background: var(--primary-color);
    color: white;
}

.method-tab:hover:not(.active) {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.input-method {
    display: none;
}

.input-method.active {
    display: block;
}

.input-method textarea {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: var(--transition);
}

.input-method textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.add-option-container {
    display: flex;
    gap: 0.5rem;
}

.add-option-container input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.add-option-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.add-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Options List */
.options-list {
    max-height: 300px;
    overflow-y: auto;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: var(--background-color);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.option-text {
    flex: 1;
    color: var(--text-primary);
}

.remove-option-btn {
    background: #ef4444;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.remove-option-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Quick Examples */
.quick-options {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.quick-options h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.quick-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.example-btn {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.example-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Picker Wheel */
.picker-animation-container {
    text-align: center;
    margin-bottom: 2rem;
}

.options-display {
    width: 300px;
    height: 300px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.current-option {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    max-width: 250px;
    word-wrap: break-word;
}

.current-option.jumping {
    animation: jumpEffect 0.15s ease-in-out;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

@keyframes jumpEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1.05); }
}

.current-option.final {
    animation: finalSelection 0.8s ease-out;
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

@keyframes finalSelection {
    0% { transform: scale(1.05); }
    30% { transform: scale(1.2); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.pick-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.pick-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pick-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Selected Items */
.selected-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.selected-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    animation: slideInResult 0.5s ease;
}

.item-number {
    background: rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.item-text {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
}

@keyframes slideInResult {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* History */
.picker-history {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.picker-history h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.history-item {
    background: var(--background-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.history-info {
    flex: 1;
}

.history-selections {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.history-selection {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.history-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.history-copy-btn {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.history-copy-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Use Cases */
.use-cases {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.use-cases h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.use-case-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.use-case-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.use-case-card p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}



/* Coin Flip Styles */
.simple-coin-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.coin-type-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.coin-type-selection label {
    font-weight: 600;
    color: var(--text-secondary);
}

.coin-types {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.custom-labels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    margin-top: 1rem;
}

.coin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    perspective: 1200px;
    position: relative;
}

.coin {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    cursor: pointer;
    z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.coin:hover:not(.spinning) {
    transform: scale(1.05);
}

.coin-side {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    border: 4px solid;
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.coin-side::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 30%, rgba(255, 255, 255, 0.1) 60%, transparent 80%);
    z-index: 1;
}

.coin-side::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.coin-side {
    background: 
        radial-gradient(circle at center, #fbbf24 0%, #f59e0b 30%, #d97706 70%, #b45309 100%);
    border-color: #92400e;
}

.coin-content {
    text-align: center;
    font-weight: 900;
    font-size: 1.5rem;
    color: #1f2937;
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    z-index: 2;
    position: relative;
    font-family: 'Arial Black', Arial, sans-serif;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.coin.spinning-to-yes {
    animation: coinSpinToYes 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: forwards;
}

.coin.spinning-to-yes .coin-content {
    opacity: 0;
}

.coin.spinning-to-no {
    animation: coinSpinToNo 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: forwards;
}

.coin.result-yes {
    animation: resultBounce 0.8s ease-out;
}

.coin.result-no {
    animation: resultBounce 0.8s ease-out;
}

@keyframes coinSpinToYes {
    0% { 
        transform: rotateY(0deg) translateY(0px);
    }
    25% { 
        transform: rotateY(450deg) translateY(-30px);
    }
    50% { 
        transform: rotateY(900deg) translateY(-50px);
    }
    75% { 
        transform: rotateY(1350deg) translateY(-30px);
    }
    100% { 
        transform: rotateY(1800deg) translateY(0px);
    }
}

@keyframes coinSpinToNo {
    0% { 
        transform: rotateY(0deg) translateY(0px);
    }
    25% { 
        transform: rotateY(450deg) translateY(-30px);
    }
    50% { 
        transform: rotateY(900deg) translateY(-50px);
    }
    75% { 
        transform: rotateY(1350deg) translateY(-30px);
    }
    100% { 
        transform: rotateY(1980deg) translateY(0px);
    }
}

@keyframes resultBounce {
    0% { 
        transform: scale(0.8);
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    }
    100% { 
        transform: scale(1);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    }
}

.flip-result {
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.flip-result.highlight {
    animation: resultPulse 0.6s ease-out;
}

@keyframes resultPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.flip-result h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: resultGlow 2s ease-in-out infinite alternate;
}

.flip-result p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
}

@keyframes resultGlow {
    0% { 
        filter: brightness(1);
        transform: scale(1);
    }
    100% { 
        filter: brightness(1.1);
        transform: scale(1.02);
    }
}

.results-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--hover-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.summary-label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 100px;
}

.summary-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.summary-percentage {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.flip-history h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--hover-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.history-item {
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.history-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.3s ease;
}

.history-item:hover::before {
    left: 100%;
}

.history-item.heads {
    background: 
        linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #daa520 100%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    color: #2c3e50;
    border-color: #b8860b;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.history-item.tails {
    background: 
        linear-gradient(135deg, #e8e8e8 0%, #d3d3d3 50%, #a9a9a9 100%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    color: #2c3e50;
    border-color: #808080;
    box-shadow: 
        0 4px 15px rgba(192, 192, 192, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.history-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.history-item.heads:hover {
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.history-item.tails:hover {
    box-shadow: 
        0 8px 25px rgba(192, 192, 192, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.coin-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.stat-label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
}

.stat-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.stat-percentage {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .generator-controls {
        grid-template-columns: 1fr;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .quick-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-password-btn {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .history-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .history-item-actions {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .legal-section h1 {
        font-size: 2rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .blog-post h1 {
        font-size: 2rem;
    }
    
    .blog-post-excerpt {
        font-size: 1.125rem;
    }
    
    .blog-post-meta {
        gap: 1rem;
    }
    
    .blog-post-navigation {
        flex-direction: column;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .analyzer-input {
        flex-direction: column;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .password-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .password-actions {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .picker-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .coin-container {
        min-height: 220px;
    }
    
    .coin {
        width: 150px;
        height: 150px;
    }
    
    .coin-content {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .flip-result h3 {
        font-size: 1.6rem;
    }
    
    .summary-item,
    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .summary-label,
    .stat-label {
        min-width: auto;
    }
    
    .history-list {
        max-height: 150px;
    }
    
    .method-tabs {
        flex-direction: column;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    
    .history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .generator-card,
    .quick-generators {
        padding: 1.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .generator-section,
    .history-section,
    .about-section {
        padding: 2rem 0;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-section {
        padding: 2rem 0;
    }
    
    .blog-hero {
        padding: 2rem 0;
    }
    
    .blog-section {
        padding: 2rem 0;
    }
    
    .blog-post {
        padding: 1rem 0 2rem;
    }
    
    .blog-post-content {
        padding: 2rem;
    }
    
    .newsletter-card {
        padding: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .password-controls {
        gap: 1.5rem;
    }
    
    .length-control {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .length-display {
        align-self: center;
    }
    
    .message {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .picker-wheel {
        width: 200px;
        height: 200px;
    }
    
    .add-option-container {
        flex-direction: column;
    }
    
    
    .quick-examples {
        flex-direction: column;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-muted: #000000;
    }
}

/* New Content Sections */
.use-cases-section,
.how-it-works-section,
.faq-section,
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin: 2rem 0;
    padding: 3rem 0;
    box-shadow: var(--shadow-md);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.use-case {
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.use-case:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.use-case h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.technical-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail {
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.detail h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-content {
    margin-top: 2rem;
}

.faq-item {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Ad Section */
.ad-section {
    margin: 2rem 0;
    padding: 1rem 0;
}

.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cookie-btn.accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--primary-dark);
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Blog Article Styles */
.blog-article {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin: 2rem 0;
    padding: 3rem 0;
    box-shadow: var(--shadow-md);
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.article-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.article-content h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.article-content h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
}

.article-content ul, .article-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin: 0.5rem 0;
}

.example-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

.example-box h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.cta-section {
    background: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
    border: 2px solid var(--border-color);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .technical-details {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-content {
        padding: 0 1rem;
    }
} 